package com.llxz.blog.sta.Client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by IntelliJ IDEA.
 *
 * @author lyq
 * @description: date: 2021/9/4 11:30
 */

@Component
@FeignClient("article")
public interface ArticleClient {
    @PostMapping("/article/get/day/{dateStr}")
    public int getEveryDayArticles(@PathVariable("dateStr") String dateStr);
}
